A Design-Based Cohesion Metric for Object-Oriented Classes

ثبت نشده
چکیده

Class cohesion is an important object-oriented software quality attribute. It indicates how much the members in a class are related. Assessing the class cohesion and improving the class quality accordingly during the object-oriented design phase allows for cheaper management of the later phases. In this paper, the notion of distance between pairs of methods and pairs of attribute types in a class is introduced and used as a basis for introducing a novel class cohesion metric. The metric considers the methodmethod, attribute-attribute, and attribute-method direct interactions. It is shown that the metric gives more sensitive values than other well-known design-based class cohesion metrics. Keywords—Object-oriented software quality, object-oriented design, class cohesion.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Design-Based Cohesion Metric for Object-Oriented Classes

Class cohesion is an important object-oriented software quality attribute. It indicates how much the members in a class are related. Assessing the class cohesion and improving the class quality accordingly during the object-oriented design phase allows for cheaper management of the later phases. In this paper, the notion of distance between pairs of methods and pairs of attribute types in a cla...

متن کامل

Visual Indicator and Software Metric Formula to Determine Class Cohesion Problem and Software Design Quality

Classes is the basic unit in object oriented software, therefore their quality has significant impact on the overall quality of the software. Class cohesion is one of the important factors that determine whether the design quality of a software is good or bad. In software development it is essential for software developers to gauge the degree of cohesion; yet in software development practice, i...

متن کامل

Towards Cohesion-based Metrics as Early Quality Indicators of Faulty Classes and Components

Measuring structural design properties of an object-oriented system is a promising approach towards early quality assessments. In object-oriented systems, cohesion is an important factor of objectoriented design quality. A few researchers refer cohesion to the degree of the relatedness of the members in a class. In an object-oriented system, classes and components are key early artifacts that l...

متن کامل

A New Class Cohesion Criterion:

Class cohesion is considered as one of important object-oriented software attributes. Cohesion refers to the degree of the relatedness of the members in a class. High cohesion is a desirable property of classes. Several metrics have been proposed in the literature in order to measure class cohesion in object-oriented systems. They capture class cohesion in terms of connections among members wit...

متن کامل

Information System Decomposition Quality

Object-oriented design is becoming very popular in today's software development. An object-oriented information system is decomposed into subjects, each subject is decomposed into classes of objects. Good object-oriented system design should exhibit high cohesion inside subjects and low coupling among subjects. Yet, few quantitative studies of the actual use of cohesion and coupling have been c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012